import {useEffect} from "react"
import styles from './index.less';
import { Button, Radio } from 'antd';
import {request} from "umi"

export default function IndexPage() {
  useEffect(() => {
    request("/api/tags").then(res=>{
      console.log(res);
      
    })
 
  }, [])
  return (
    <div>
      <Button>Default</Button>
      <h1 className={styles.title}>Page index</h1>
    </div>
  );
}
